<%#= javascript_include_tag 'jquery', 'nested_form' %>

<%# nested_form_for @project do |f| %>
<%#= f.error_messages %>
<%# f.fields_for :workpackages do |wp_form| %>
<%#= wp_form.text_field :title %>
<%#= wp_form.link_to_remove "Remove this task" %>
<%# end %>
<%#= f.link_to_add "Add a task", :workpackages %>
<%# end %>
<%#= link_to 'Back', partner_projects_path %>

<%= render :partial => 'form' %>